package com.hwadee.JPKC.service;

import java.util.List;

import com.hwadee.JPKC.entity.comment;




public interface CommentService {
	//以id删除
    int deleteByPrimaryKey(Integer expertId);
	//以id查所有
    comment selectByPrimaryKey(Integer expertId);
   //查所有
    List<comment> getAll();
    //通过用户id删除用户的评论的课程
    int delete(int userId);
    //查课程id
    List<comment> selectCourseId(Integer courseId);

    //
    int insertSelective(comment conmment);
    
    int insert(comment conmment);

}
